package com.quanyan.place.mapper;

import com.quanyan.place.entity.TbPlaceImage;
import com.quanyan.place.entity.TbPlaceImageExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TbPlaceImageMapper {
    int countByExample(TbPlaceImageExample example);

    int deleteByExample(TbPlaceImageExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(TbPlaceImage record);

    int insertSelective(TbPlaceImage record);

    List<TbPlaceImage> selectByExample(TbPlaceImageExample example);

    List<TbPlaceImage> selectUrlByExample(TbPlaceImageExample example);

    TbPlaceImage selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") TbPlaceImage record, @Param("example") TbPlaceImageExample example);

    int updateByExample(@Param("record") TbPlaceImage record, @Param("example") TbPlaceImageExample example);

    int updateByPrimaryKeySelective(TbPlaceImage record);

    int updateByPrimaryKey(TbPlaceImage record);
}